<?phpclass TemplatePhotoEntity extends TemplatePhotoEntityBase{	public function __construct($arrValue = null, $prefix = '')	{		if(!is_null($arrValue) && is_array($arrValue)){			parent::__construct($arrValue, $prefix);		}	}		public function getThumb()	{		$filename = APPLICATION_PATH . '/../Resources/Thumbnails/' . $this->picture;		if(file_exists($filename)){			return Zend_Registry::get('config')->APPLICATION_URL . '/Resources/Thumbnails/' . $this->picture;			}		else {			return $this->getDefaultImage();			} 	}	public function getImage()	{		$filename = APPLICATION_PATH . '/../Resources/Images/' . $this->picture;		if(file_exists($filename)){			return Zend_Registry::get('config')->APPLICATION_URL . '/Resources/Images/' . $this->picture;			}		else {			return $this->getDefaultImage();			} 			}}